package net.googlecode.exigenlab.task4;

import net.googlecode.exigenlab.task4.correction.StringNormalizer;

/**
 * Class for testing task#4. Create instances of
 * <code>StringNormalization</code> class and check its work.
 * 
 * @author Poddybniak Petr <a href="mailto:PPoddybniak@gmail.com">Poddybniak
 *         Petr</a>
 * @since 05.04.2011
 */
public class StringCorrectionApp {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		StringNormalizer str = new StringNormalizer();
		System.out.format("Correct sentence: \n%s\n", str.correctSentence());
		System.out.format("\nReverce sentence: \n%s\n", str.reverceSentence());
		System.out.format("\nSentence in upper case:\n%s\n",
				str.allFirstCharsUpper());
		System.out.format("\nReplace \'A\', \'a\' chars by \'!\' sentence:\n%s\n", str.replaceAChars());
		System.out.format("\nSentence with date:\n%s\n", str.addDateToString());

	}
}
